﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CSC.FSVTracker.Domain.Entities;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace CSC.FSVTracker.WebUI.Models
{
    /// <summary>
    /// Login View Model.
    /// </summary>
    public class LoginViewModel
    {
        /// <summary>
        /// Gets or sets the login ID.
        /// </summary>
        /// <value>
        /// The login ID.
        /// </value>
        [Required(ErrorMessage="Please enter login Id.")]
        [DisplayName("Login")]
        public string LoginID { get; set; }

        /// <summary>
        /// Gets or sets the password.
        /// </summary>
        /// <value>
        /// The password.
        /// </value>
        [Required(ErrorMessage = "Please enter password.")]
        [DisplayName("Password")]
        public string Password { get; set; }
    }
}